<nav class='navbar navbar-default'>
	<div class='container-fluid'>
		<div class='navbar-header'>
		<div class='navbar-brand' align=center>
			忘le愛の空间
		</div>
		<ul class='nav navbar-nav'>
			<li class='active'><a href='/'>Home</a></li>
			{%if username%}
				<li><a href = '/userinfo'>个人资料</a></li>
				<li><a href = '/logout'>注销</a></li>
				<li><a href = '/list'>浏览空间</a></li>
				<li><a href = '/post'>发表日志</a></li>
				<li><a href = '/contact'>联络管理员</a></li>
			{%else%}
				<li><a href = '/login'>登录</a></li>
			{%endif%}
				<li><a href = '/admin'>后台管理</a></li>
		</ul>
	</div>
</nav>